package cc.admin.modules.sys.service;

import cc.admin.modules.sys.entity.SysCascade;
import com.baomidou.mybatisplus.extension.service.IService;

import cc.admin.modules.sys.entity.SysCascadeTree;
import java.util.List;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;

/**
 * @Description: 级联设置
 * @Author: cc-admin
 * @Date:   2022-05-18
 * @Version: V1.0.0
 */
public interface ISysCascadeService extends IService<SysCascade> {

	/**
	 * 查询树列表
	 *
	 * @param queryWrapper
	 * @return
	 */
	List<SysCascadeTree> queryTreeList(QueryWrapper<SysCascade> queryWrapper);

	/**
	 * 删除树节点
	 * @param id
	 */
	void removeNodeById(String id);
}
